<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox-content">
                <div class="row">
                    <form action="<?=url('hotel.manage/edit',['manage_id'=>$detail->manage_id])?>" id="form-create"
                          method="post" class="form-horizontal" role="form">
                        <div class="form-group">
                            <label class="col-sm-3 control-label no-padding-right"><span class="c-red">*</span>手机号（登录账号）：</label>
                            <div class="col-sm-9">
                                <input type="text" value="<?=isset($detail->mobile)?$detail->mobile:''?>" placeholder=""
                                       id="mobile" name="mobile" class="form-control"/>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label no-padding-right"><span
                                    class="c-red">*</span>密码：</label>
                            <div class="col-sm-9">
                                <input type="text" value=""
                                       placeholder="留空则不修改密码" id="password" name="password" class="form-control"/>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label no-padding-right"><span class="c-red">*</span>角色名称（职位）：</label>
                            <div class="col-sm-9">
                                <input type="text" value="<?=isset($detail->role_name)?$detail->role_name:''?>"
                                       placeholder="" id="role_name" name="role_name" class="form-control"/>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label no-padding-right"><span
                                    class="c-red">*</span>管理员姓名：</label>
                            <div class="col-sm-9">
                                <input type="text" value="<?=isset($detail->mange_name)?$detail->mange_name:''?>"
                                       placeholder="" id="mange_name" name="mange_name" class="form-control"/>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label no-padding-right"><span
                                    class="c-red">*</span>锁定状态：</label>
                            <div class="col-sm-9">
                                <div class="radio i-checks">
                                    <label>
                                        <input name="is_lock" id="is_lock" value="1"
                                               type="radio" <?php if(isset($detail->is_lock)&&
                                        $detail->is_lock==1){?>checked="checked"<?php }?> > <i></i> 是</label>
                                    <label>
                                        <input name="is_lock" id="is_lock" value="0" type="radio" <?php if(isset($detail->is_lock)&&$detail->is_lock==0){?>checked="checked"<?php }?> > <i></i> 否</label>
                                </div>
                            </div>
                        </div>
                        <div class="clearfix form-actions">
                            <div class="col-md-offset-3 col-md-9">
                                <button mini="submit" for="form-create" class="btn btn-info" type="submit">
                                    <i class="ace-icon fa fa-check bigger-110"></i>
                                    保存
                                </button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>